import http from "@/utils/request";

// 获取一级导航栏信息
export function getCategoryAPI () {
  return http({
    url: '/home/category/head'
  })
}

// 获取轮播图数据
export function getBannerAPI (distributionSite) {
  return http({
    url: '/home/banner',
    method: 'GET',
    params: {
      distributionSite
    }
  })
}